package zhoujunhao.rbac.domian.vo;

/**
 * 视图对象类型-角色
 *
 * @author 周均壕
 * @since 2025/6/16 04:15
 */
public class RoleVo extends BaseVo {
    public String name;
    public String dataScope;

    public RoleVo() {
    }
    public RoleVo(int id, String name, String dataScope) {
        super(id);
        this.name = name;
        this.dataScope = dataScope;
    }

    @Override
    public String toString() {
        return String.format("ID:%d,名字:%s,数据访问范围:%s", id, name, dataScope);
    }
}
